<?php
	

        function db_connect(){	
	
                    try
                    {
                        $db = new PDO('mysql:host=localhost;dbname=facecloud', 'master123', 'master123');
                    }
                    catch (Exception $e)
                    {
                        die('Erreur : ' . $e->getMessage());
                    }
                    
                    return $db;
	}
        
   

?>